﻿using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;

namespace K9Nano.EFCore
{
    public interface IGlobalFilterProvider
    {
        void ConfigureGlobalFilters<TEntity>(ModelBuilder modelBuilder, IMutableEntityType entityType)
            where TEntity : class;

        void ConfigureGlobalFiltersByType(Type entityClrType, ModelBuilder modelBuilder, IMutableEntityType mutableEntityType);
    }
}